# Langchain 的时间获取工具
# 用于获取当前时间戳
from datetime import datetime
from pydantic import BaseModel, Field


def get_current_time():
    return datetime.now().strftime("%Y-%m-%d %H:%M:%S")

class GetTimeInput(BaseModel):
    query: str = Field(description="The search query current time")
